package com.egg.auth.model.request.web;

import com.egg.common.core.model.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author east
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "菜单新增或修改")
public class MenuPostOrPut extends BaseRequest {


    @ApiModelProperty(value = "父级ID")
    private Long pid;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型", notes = "com.egg.auth.enums.menu.MenuTypeEnum")
    private String type;

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "组件")
    private String component;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "跳转")
    private String redirect;

    @ApiModelProperty(value = "是否隐藏")
    private Boolean hidden;

    @ApiModelProperty(value = "权限标识")
    private String perm;

    @ApiModelProperty(value = "排序")
    private Integer sort;


}
